package org.darkforest.model;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import org.codehaus.jackson.annotate.JsonIgnore;

import java.io.Serializable;
import java.util.List;
@ApiModel(value = "区域对象", description = "省市区")
public class Area implements Serializable {
    @ApiModelProperty(value="区域Id",required=true)
    private Integer areaId;

    private String areaName;
    @JsonIgnore
    private String areaRegion;

    private Integer areaParentId;

    private List childrenList;

    @JsonIgnore
    private Byte areaSort;

    @JsonIgnore
    private Boolean areaDeep;

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }

    public Integer getAreaParentId() {
        return areaParentId;
    }

    public void setAreaParentId(Integer areaParentId) {
        this.areaParentId = areaParentId;
    }

    public Byte getAreaSort() {
        return areaSort;
    }

    public void setAreaSort(Byte areaSort) {
        this.areaSort = areaSort;
    }

    public Boolean getAreaDeep() {
        return areaDeep;
    }

    public void setAreaDeep(Boolean areaDeep) {
        this.areaDeep = areaDeep;
    }

    public List getChildrenList() {
        return childrenList;
    }

    public void setChildrenList(List childrenList) {
        this.childrenList = childrenList;
    }

    public String getAreaRegion() {
        return areaRegion;
    }

    public void setAreaRegion(String areaRegion) {
        this.areaRegion = areaRegion;
    }
}